﻿@using QDT.Core
@model ICollection<QDT.Core.OfflineInvest.OfflineCredit>

<div class="main">
<table class="form conf_tab" cellpadding=0 cellspacing=0 rel="3">
    <tr>
        <td>总投资笔数:</td>
        <td class="item_input">
            @Model.Count
        </td>
    </tr>
    <tr>
        <td>债权列表:</td>
        <td class="item_input">
            <table id="dataTable" class="dataTable" cellpadding="0" cellspacing="0">
                <tr class="row">
                    <th style="width:180px">项目名称</th>
                    <th>投资金额</th>
                    <th style="width:180px">投资时间</th>
                    <th>用户组</th>
                </tr>
                @foreach (var item in Model)
                {
                    <tr>
                        <td>@Html.F().GetPrjectName(item.Credit.ProjectID)</td>
                        <td align="center">@item.Credit.Money.ToMoney()@(item.Credit.IsAuto ? "(自动)" : "")</td>
                        <td align="center">@item.Credit.CreateTime</td>
                        <td align="center">@Html.F().GetUserGroupForUser(item.Credit.UserID)</td>
                    </tr>
                }
            </table>
        </td>
    </tr>
    <tr>
        <td colspan=2 class="bottomTd"></td>
    </tr>
</table>

</div>
